<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
  <meta charset="UTF-8">
  <title>Admin</title>
</head>
<form  method="post" th:action="@{/submit_stu_password}" >
  <input type="hidden" name="stuId" th:value="${session.studentInfo.stuId}" readonly="true" ><br>
  学号：<input type="text" name="stuNumber" th:value="${session.studentInfo.stuNumber}" readonly="true"><br>
  姓名：<input type="text" name="stuName" th:value="${session.studentInfo.stuName}" readonly="true"><br>
  密码： <input type="password" name="stuPassword"><br>
  <label style="color: red" th:text="${stuMsg}" th:if="${not #strings.isEmpty(stuMsg)}"></label>
  <input type="submit" value="修改">
</form>

</body>
</html>